package com.example.gradledemo.module;

import android.content.Context;
import android.util.Log;
import androidx.annotation.NonNull;
import com.appinit.lib.IAppInitial;
import com.appinit.lib.annotation.Initial;

/**
 * @author GYL
 * @dateTime 2020/5/18-13:48
 * @description
 */
@Initial(priority = 2,delay = 10)
public class Module2 implements IAppInitial {
  
  @Override
  public void onInit(@NonNull Context context) {
    Log.d("Module2", "onInit: Module2");
  }
  
  @Override
  public void attachBaseContext(Context base) {
    Log.d("Module2", "attachBaseContext: module2");
  }
  
  @Override
  public void onTerminate(Context context) {
    Log.d("Module2", "onTerminate: module2");
  }
  
  @Override
  public void onTrimMemory(int level) {
    Log.d("Module2", "onTrimMemory: module2");
  }
}
